package cz.muni.fi.pv168.addressbook.daos;

import cz.muni.fi.pv168.addressbook.entities.Contact;
import cz.muni.fi.pv168.addressbook.entities.Person;
import java.util.List;

/**
 *
 * @author Michal Ďuriš
 */
public interface AddressBookManager {

    /**
     *
     * @param person
     *
     * @return
     */
    public List<Contact> getAllContactsOfPerson(Person person);

    /**
     *
     * @param searchString
     *
     * @return
     */
    public List<Person> findContact(String searchString);

}
